import axios from 'axios'
const ConfigBaseURL = 'http://10.0.0.123:10001'

// 创建axios
const Service = axios.create({
    baseURL: ConfigBaseURL,
})

// 请求拦截器
Service.interceptors.request.use(config => {
    return config
})

// 响应拦截器
Service.interceptors.response.use(response => {
        return response
    },
    error => {
        return Promise.reject(error)
    }
)
export default Service